/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ditt.outils;

import javax.swing.JOptionPane;

/**
 *
 * @author attobra
 */
public class MessageSimple {
    
    protected String message ;
    
    public MessageSimple(String texte){   
        this.message = texte;       
    }

    public String getMessage() {
        return message;
    }
    
    public void afficher(){
        JOptionPane.showMessageDialog(null, getMessage());
    }
    
    
}
